//
//  Possession.h
//  RandomPossessions
//
//  Created by Xie Yi on 12-7-22.
//  Copyright (c) 2012年 Free. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Possession : NSObject
{
    NSString *possessionName;
    NSString *serialNumber;
    int valueInDollars;
    NSDate *dateCreated;
}


+(id)randomPossession;

-(id)initWithPossession:(NSString *)name valueInDollars:(int)value serialNmber:(NSString *)sNumber;

/*
-(void)setPossessionName:(NSString *)str;
-(NSString *)possessionName;

-(void)setSerialNumber:(NSString *)str;
-(NSString *)serialNumber;

-(void)setValueInDollars:(int)i;
-(int)valueInDollars;

-(NSDate *)dateCreated;
 */

//@property (nonatomic,retain) NSString *possessionName;
//@property (nonatomic,retain) NSString *serialNumber;

@property (nonatomic,copy) NSString *possessionName;
@property (nonatomic,copy) NSString *serialNumber;
@property (nonatomic) int valueInDollars;
@property (nonatomic,readonly) NSDate *dateCreated;




@end
